import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/base.css'
import '@/assets/css/font.css'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import JwChat from 'jwchat'
import axios from 'axios'
// 引入组件库
import jvuewheel from '@jyeontu/jvuewheel'
// 引入样式
import '@jyeontu/jvuewheel/lib/jvuewhell.css'
Vue.use(jvuewheel)
axios.defaults.baseURL = 'http://localhost:5555/route'
axios.defaults.withcredentials = true
Vue.prototype.$http = axios
Vue.use(JwChat)
Vue.config.productionTip = false
Vue.use(Element)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
